import axios from 'axios'

axios.interceptors.request.use(config => {
  config.Authorization = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9'
  config.userId = '100'
  return config
})

axios.interceptors.response.use(res => {
  return res.data
})

export default axios
